Device verification system and method

ABSTRACT

A method is disclosed for authenticating a gaming device, wherein the gaming device includes a plurality of components, one of which is a storage device. The method includes: starting up the gaming device; authenticating a data file stored on the storage device, wherein the authenticating comprises: opening and reading a file allocation structure in a storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to determine enablement of the gaming units.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 11/464,584, filed Aug. 15, 2006, which is a divisional of U.S. patent application Ser. No. 10/243,912, filed Sep. 13, 2002, which is now abandoned, all of which are hereby incorporated by reference.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever.

BACKGROUND

This invention relates generally to a method and apparatus for verifying and detecting errors in a device and, more particularly, for verifying the device before starting or continuing operation, and for monitoring and logging events that may occur in the device.

In common practice in the prior art, for example in the gaming machine field, verification of a device may occur by testing the entire contents of a read-only memory (ROM) containing the application software for the device to ensure that tampering has not occurred, for example, after a prize is won during game play. An abbreviated bit string is computed from the gaming application program and stored in a secure ROM that is separate from the ROM where the gaming application is stored before deployment of the gaming machine. When the gaming machine is started, or at times when verification is desired, for example, after a win occurs during game play, a verification program calculates another abbreviated bit string from the contents of the ROM wherein the gaming application program is stored, and the previously computed abbreviated bit string stored in the secure ROM is used with the newly-calculated, abbreviated bit string to verify the gaming application program.

Such a verification system may be adequate where the media on which the gaming application is stored is read-only, and therefore difficult to alter, and where there is little danger that the other components of the device can be compromised to breach security, such as a casino with 24 hour surveillance. However, such constant surveillance is not always available, both inside and outside the gaming industry, and as technology advances, it becomes more difficult to rely on these safeguards. The shortcomings of prior systems become more prevalent when several devices are connected over a network.

Accordingly, there has been a long existing need for enhanced verification of devices, and more enhanced self-critical analysis of their components other than just the application software.

SUMMARY

Briefly, and in general terms, the present invention provides an improved method and system for verifying a device, having components, before or during use.

More particularly, by way of example only, and not by way of limitation, a method is disclosed for authenticating a gaming device, wherein the gaming device includes a plurality of components, one of which is a storage device. The method includes: starting up the gaming device; authenticating a data file stored on the storage device, wherein the authenticating comprises: opening and reading a file allocation structure in a storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to determine enablement of the gaming units.

In another embodiment, a system is disclosed for authenticating a device. The system includes: a plurality of components, a processor for reading identification data of each of the components and for authenticating the identification data, and a memory including instructions stored thereon which when executed by the processor cause the processor to authenticate a data file stored on a storage device. In this embodiment, the authentication includes opening and reading a file allocation structure in the storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to determine enablement of the gaming units.

In still another embodiment, an additional system is disclosed for authenticating a device. The system includes: a hard disk; a processor; and a read-only memory including instructions which when executed by the processor cause the processor to authenticate a data file on the hard disk. In this embodiment, the authentication again includes opening and reading a file allocation structure in the storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to deter mine enablement of the gaming units.

These and other objects and advantages of the invention will become apparent from the following more detailed description, when taken in conjunction with the accompanying drawings of illustrative embodiments.

BRIEF DESCRIPTION OF THE DRAWING

FIG. 1 is a block diagram illustrating a device and components capable of verification before and during use of the device using the system and methods of the present invention;

FIG. 2 is a flow diagram illustrating the steps for performing verification of the device of FIG. 1;

FIG. 3 is a flow diagram illustrating the steps performed by the system of FIG. 1 for replacing data files that are unverified or contain errors;

FIG. 4 is a block diagram illustrating the structure of a network that may be used with the device of FIG. 1;

FIG. 5 is a flow diagram illustrating the steps preformed by a monitor in a gaming machine embodiment of FIG. 1; and

FIG. 6 is a flow diagram illustrating the steps for reading a file allocation structure or file allocation table of a persistent storage media in the device of FIG. 1.

DETAILED DESCRIPTION

Referring now to the drawings, like reference numerals denote like or corresponding parts throughout the drawing figures.

With reference to FIG. 1, a block diagram illustrating a device 10 and components 50 capable of verification before and during use of the device 10 using the system and methods of the present invention is shown. The components 50 may comprise, for example, software or data file components 54, firmware components 64-74, hardware components 60, 62, 80, 90, or structural components 130 of the device 10. These components include, without limitation, one or more processors 62, persistent storage media 80 and 90, volatile storage media such as random access memories (RAMs) 76, read-only memories (ROMs) 77 or electrically-erasable programmable ROMs (EEPROMS) such as basic input/output systems (BIOS) 64. Components 50 may also include data files 54 (which are any collection of data, including executable programs in binary or script form, and the information those programs operate upon), device cabinets (housings) 130, cathode ray tubes (CRTs) 134, or compact disk read only memory (CDROM) or CD read-write (CR-RW) storage 80. The data files 54 may include data files 100-104, software program files 92-96, operating system files 98, or file allocation tables or structures 99. Ports 139 may be included with the device 10 for connection to diagnostic systems 140 and other input/output devices 142. The ports 139 may each comprise a serial port, universal serial bus (USB) port, parallel port or any other type of known port, including a wireless port. Preferably, each of the components 50 have embedded or loaded in them identification numbers or strings that can be accessed by the processor 60, including the processor 60 itself, which are utilized for verification as explained below. The data files 54 may use their file name as their identification number of string.

Either within the device 10, or in the diagnostic system 140 attachable to the device 10, are executable instructions or a software program 70 for verification of the components (verification software 70), which may itself be one of the components 50 to verify if it is internal to the device 10. The verification software 70 may be stored on a persistent storage media such as the hard disk device 90, ROM 77, EEPROM 64, in a complementary metal oxide semiconductor memory (CMOS) 72, in safe RAM comprising a battery-backed, static random access memory (BBRAM) 62, in a flash memory or other type of persistent memory. Preferably, the verification software 70 is stored in a basic input/output system (BIOS) 64 device or chip. BIOS chips 64 have been used for storing prior verification software, such as previous versions of the BIOS+ chip used by Bally Gaming, Inc. of Las Vegas, Nev. in their EVO gaming system. Placing the verification software 70 in the BIOS 64 is advantages because the code in the BIOS 64 is usually the first code executed upon boot or start-up of the device 10, making it hard to bypass the verification process.

Alternatively, the verification software 70 may be stored in a firmware hub (FWH), which may comprise part of an electronic device 10, which may be a computer that stores BIOS information. Hub technology is currently being developed and used by the Intel Corporation of Santa Clara, Calif. Usually, so-called north and south bridges link elements of chip sets through a peripheral component interconnect (PCI) bus. In the hub architecture, the elements are connected via an interlink dedicated bus. This is a high-speed bus, currently with twice the bandwidth of the PCI bus. Typically, the interlink bus operates at 133 MHz in 2× mode. Being 64 bits wide the interlink provides a bandwidth of 266 MB/sec (2×133.000.000×8 byte). One such hub is known as a firmware hub (FWH). Intel's 82802 FWH stores system BIOS and video BIOS in a 4 Mbit or 8 Mbit EEPROM or flash EEPROM.

As another alternative, the persistent storage media that stores the verification software 70 may be a removable storage unit such as the CD-ROM or CD-RW device 80, a WORM device, a floppy disk device, a removable type of hard disk device 90, a ZIP disk device, a JAZZ disk device, a DVD device, a removable flash memory device, or a hard card type of hard disk device 90. However, the database 74 containing verification data used by the verification software 70, described below, is preferably stored either within the device 10 being verified in a non-removable, secure device, such as the BIOS+ 64 shown in FIG. 1, or remotely on a server for networked devices.

With reference to FIG. 2, a flow diagram illustrating the steps for performing verification of the device 10 of FIG. 1 is shown. Beginning at step 200, identification numbers of the components 50 are read and then verified. Each identification number is then searched in the database 74 to determine whether each identification number is valid, step 202. The determination may be as simple as checking for whether the identification number exists in the database. If the identification number is not found in the database 74, step 204, then a tilt condition message is generated in the device 10, step 206, which may end operation of the device 10.

Preferably, digital signatures of the digital contents of at least the data files 54 and firmware of the components 50 are also used to perform verification as explained in detail below. In the database record where the identification number was located in the database 74, an abbreviated bit string, or encrypted signature, created from the data file 54 or firmware of the component 50 when the device 10 was first assembled or before the device 10 was deployed, is stored. The verification software 70 contains instructions that cause the processor 60 to read the signature from the database record, step 208. A digital signature analysis is performed, step 210. If the data file 54 or firmware of the component 50 fails an authentication, step 212, then a tilt condition message is generated in the device 10, step 206, which may end operation of the device 10.

In the case where a data file 54 comprises one of a plurality of operating system files 98, verification of that file 54, in effect, comprises verifying part of an operating system 98.

The database 70 may comprise a relational database, object database, or may be stored in XML format, or stored in a number of other formats that are commonly known. However, in the case where storage space is limited for the verification system, a flat file structure for the database 70 may be more desirable, and require less software instructions in order to read and retrieve information. The database 70 may also comprise an independent system stack of bindings from manufacturers of the components 50, each identification number being verified using the binding from the manufacturer of the respective component 50 to verify the component 50. Especially in the context of smaller devices 10 such as personal digital assistants (PDAs), such a system stack may comprise a subset of one or more global component databases containing bindings from manufacturers of the components 50, each binding of the subset being associated with at least one of the identification numbers of one of the components 50 in the device 10. Providing such a limited subset helps control the size of the verification system by controlling the size of the database 70. Another example of a verification system in which it may be desirable to limit the size of the database is one in which the database is stored in a personal computer's (PC's) complementary metal oxide semiconductor memory (CMOS) 74, along with other configuration settings for the PC. Storing the database in the CMOS 74 may improve security wherein the PC may be configured such that only users with administrative passwords may change the content of the portion of the CMOS 74 containing the database 70.

Structural components 130, such as cabinets, may contain an electronic identification chip embedded within them, such as a Dallas chip or an IBUTTON device manufactured by Dallas Semiconductor of Dallas, Tex. IBUTTONs devices allow a unique identifier, placed within a semiconductor or chip, to be placed on a component 50 that may or may not be electronic, such as a computer or gaming machine cabinet 130. The IBUTTON is, in effect, a computer chip enclosed in a 16 mm stainless steel can. It can be mounted, preferably permanently or semi-permanently, on or in the structural component 130.

The searching or matching of each identification number may comprise matching each identification number based on the type of component 50 that the identification number identifies. The identification number and the type of component are matched in the database in order to verify that the identification number is valid. Each database record in the database 70 contains the type of component 50 that the identification number in that record is supposed to represent. The type of component 50 may be recognized by the verification software either by the location from which the identification number was read, or by performing a test of each component 50 to determine its type. For example, in some electronic devices 10, the processor 60 may always be located at location 0 on the PCI bus or firmware hub of the device 10. Alternatively, by testing the component 50, the verification software 70 may find registers, which may indicate that the component 50 is a processor 60. Otherwise, the identification number itself may be formatted to indicate the type of component 50.

The reading of the identification numbers and verifying the components 50 may be performed at the time of start-up of the device 10, or periodically during operation of the device 10. Operation of the device may be stopped if any one of the identification numbers is not matched in the database 10 or if the digital contents of a components 50 are not authenticated with the corresponding digital signature stored in the database 74. A tilt condition message is generated by the verification software 70 if any one of the identification numbers is not matched in the database 74.

The signatures in the database 74 are also referred to as bindings. When the components 50 are installed before the device 10 is put into operation in the relevant field of use, at least with respect to the components 50 that comprise data files 54 or contain firmware, a well-known hash function, the Secure Hash Function-1 (SHA-1), may be used for authentication. The SHA-1 computes a 160-bit hash value from the contents of the data file 54 or firmware. This 160-bit hash value, also called an abbreviated bit string, is then processed to create a signature of the game data using an equally well-known, one-way, private signature key technique, the Digital Signature Algorithm (DSA). The DSA uses a private key of a private key/public key pair, and randomly or pseudorandomly generated integers, to produce a 320-bit signature of the 160-bit hash value of the data file 54 or firmware contents of the component 50. This signature is stored in the database 74 in addition to the identification number.

When the device 10 is in operation in the relevant field of use, to perform a verification of the device 10, the verification software executes a DSA verification of the data files 54 and firmware of the components 50. Also stored in the database 74 is the public key of the private key/public key pair. For each data file 54 and firmware of each component 54, as part of the DSA verification, the processor 60 and verification software 70 first computes the hash value of the digital contents of the component 50 or data file 54 using the SHA-1 algorithm. The verification software 70 contains instructions that cause the processor 60 to then processes or authenticate this computed hash value with the stored signature, using the DSA signature verification algorithm, which also takes, as input, the aforementioned public key stored in the database 74. The verification part of the DSA produces a Boolean result (yes or no) as to whether the inputs solve the algorithm. If the algorithm is not solved by the inputs, then an unexpected result is produced, thereby failing to verify the particular component 50 or data file 54. A tilt message is generated which triggers a shut-down mechanism to prohibit the loading operation of the device 10 or to stop operation of the device 10 if verification is performed during operation. Otherwise, use of the device 10 is permitted. A detailed description of the DSA can be found in the U.S. government's Federal Information Processing Standards Publication (FIPS) 186-2. That publication describes each step of the DSA signature generation and verification.

Alternatively, the verification software 70 may use the Rivest-Shamir-Adleman (RSA) algorithm to verify the components 50. Using the RSA algorithm, a first abbreviated bit string or hash value is computed from each component's digital contents and encrypted into a digital signature. The digital signature is stored in the database 74 along with the identification number for the component 50. When the device is verified, the component 50 is verified by computing a second abbreviated bit string computed from the component's digital contents. The signature is retrieved from the database 74 by searching the database 74 for the identification number. The signature is decrypted to recover the first abbreviated bit string. The component 50 is then verified by comparing the second abbreviated bit string with the first abbreviated bit string. If the first and second abbreviated bit strings do not match, then the component 50 is not verified. A tilt message is generated which triggers a shut-down mechanism to prohibit the loading operation of the device 10 or to stop operation of the device 10 if verification is performed during operation. Otherwise, use of the device 10 is permitted.

Instead of creating a digital signature for, or signing, each data file 54 individually, collections of data files 54 may be signed together in order speed up processing. The abbreviated bit strings, hash values, or signatures, also called digests, of data files 54 are collected into a catalog file, and the catalog is signed as described above. The verification software 70 identifies each file as being a member of a particular catalog, which can be done by cross referencing the name of the data file or the identification number, in the database 74. For verification, abbreviated bit strings are computed from each of the digital files 54, and collected into a catalog, which is itself signed, and then verified using DSA or RSA verification techniques as described above. Thus, the catalog itself becomes a signed data file 54 that is verified, just as if it was an individual data file 54.

With reference to FIG. 3, a flow diagram illustrating the steps performed by the system of FIG. 1 for replacing data files 54 that are unverified or contain errors is shown. In some cases, it may be desirable to nevertheless allow operation of a device 10 even though a data file 54 failed verification. For example, that data file 54 may contain an error caused by a number of events, such as a bad sector on the hard disk 90, which in turn caused the failed verification of that data file 54. In that example, the failed verification is evidently not due to tampering of the device 10 as the system of the present invention is generally designed to prevent. Still, operation of the device 10 is not desirable unless and until the error in the data file 54 is corrected. When the data file 54 is stored in alterable media 90, correcting such an error may be as simple as replacing the file 54. Along with the identification number and encrypted signature or abbreviated bit string, a valid replacement data file 44 may also be stored in the database 74. Starting with step 300, the verification software 70 finds an invalid data file 54 as described above with reference to FIG. 2. The verification software 70 may contain logic that examines the failed verification to determine whether the cause of the invalid data file 54 is simply an error in the data file 54 and not tampering, step 302. Such logic may comprise, for example, fuzzy logic, which uses historical data to determine if the circumstances surrounding the failed verification most likely indicate a simple error instead of tampering. A number of factors may be used by the verification software 70 to make such a determination. For example, determination may be based on the number of data files 54 or components that fail verification. Historical data in the fuzzy logic may show that having a certain percentage of failed verifications may indicate tampering of the device 10. This may indicate a deceptive replacement of the hard disk 90 in the device 10 for example. If the verification software so indicates that tampering of the device 10 was most likely to have occurred, step 304, then a tilt message is generated, step 306. Otherwise, a replacement data file 54 is pulled from the database 74 to replace the data file 54 that failed the validation, step 308.

Alternatively to storing the replacement or update files in the database 74, the update files may be located in the CDROM or CD-RW device 80 as indicated at 82. Storing the update files 82 on the CD device 80 is preferable if the data files 54 are large, while the database itself 74 remains stored securely in the BIOS+ 64. The update files 82 are organized in a large update file database for easy indexing by identification number.

With reference to FIG. 4, a block diagram illustrating the structure of a network that may be used with the device of FIG. 1 is shown. In one embodiment, the database 74 is remote from the device 10, or a plurality of devices 10, wherein verification is performed over a network 400 connecting a database server 402 containing the database 74 with the device 10. The database 74 is stored in a persistent storage media 490 inside or connected to the database server 402. The device transmits the identification numbers for each of the components 50 (FIG. 1) to the database server 402. The database server 402 then performs the step of matching using its own version of the verification software 70 described herein. For example, the device 10 may be a personal computer (PC), with verification being performed before a transaction is allowed on a network server 404. A prime example of such a system is one set up for performing banking transactions with the network server 404 owned or operated by a bank. In such a system, a bank may only allow trusted transactions using an authorized PC 10 whose bindings for all of the components 50 and banking transaction software (92 in FIG. 1) have been recorded in the database 74. The database may be either located on the bank's network server 404, or the remote network server 402. Once all of the components have been verified, the bank's network server 402 then allows transactions to take place using the PC 10.

In another example, the device 10 comprises a gaming machine 10, wherein the verification of the gaming machine 10 is performed before game play is allowed on the gaming machine. The database 74 may either be located in a secure location in the gaming machine 10, such as a ROM device 77 enclosed in a lock box within the gaming machine 10, or remotely from the gaming machine 10 so that the gaming machine 10 connects to the network server 402 containing the database 74 over the network 400. As with the banking personal computer 10 described above, the components 50 of the gaming machine 10 are verified at the network server 402 after the gaming machine 10 transmits the identification numbers, hash values, and the like to the network server 402.

Another aspect of the present invention is a method and system for recording event messages in a gaming machine 10. The device 10 may comprise a gaming machine 10, which contains a monitor 108 for monitoring one or more system events being processed by the gaming machine 10. The monitor 108 may comprise a set of executable instructions, or a software program, which may be located in a variety of places within the gaming machine 10 ready for loading into RAM 76 for execution by the processor during operation of the gaming machine 10. For example, the monitor 108 may be stored on the hard disk 90, ROM 77 or BBRAM 62. Preferably, the operating system 98 of the gaming machine 10 is event driven. In an event driven system or device 10, applications 92 and components 50 respond to input from the user (mouse movement, keystrokes, menu choices, and the like) and messages from other applications 92 and components 50. This is in contrast to, for example, a batch operation that continuously processes the next item from a group of instructions. The monitor 108 comprises an event management system, which comprises software or firmware that monitors the applications 92, operating system 98 processes and other components 50 of the device. Alternatively, at least parts of the monitor 108 may be located on a remote server 402, workstation or other network devices.

With reference to FIG. 5, a flow diagram illustrating the steps preform led by the monitor 108 and gaming machine 10 is shown. The monitor 108, which may alternatively comprise both hardware and software components 50 in the device 10, such as its own processor 60 and event management software 92, monitors routine and non-routine events or event messages generated in the gaming device, step 500. As an example, a coin insertion into the gaming machine 10 will trigger a corresponding routine coin-in event message that triggers components 50 to operate and/or software instructions to execute. Similarly, an exception fault, or divide-by-zero condition, will trigger a non-routine or error event message to be generated. These event messages can be generally referred to as system events or event messages.

Either included within the monitor 108, or separately but in close coordination with the monitor 108, is a detector 110 for detecting selected system events of the one or more system events so that they may be recorded, step 502. The gaming machine 10, or the remote server 402 monitoring the gaming machine 10, stores the event message for the detected system event in a log file 104 on a persistent storage device such as the hard disk 90 or a persistent storage media 490 on the remote server 402.

In the step of detecting, step 502, each monitored system event is of a certain type, which, for reference purposes, can be referred to as a system event type. The detector 110 selects the selected system event based on the system event type for the selected system event. The system event type may, for example, comprise a code in the event message that indicates a category of events that occur in the gaming machine 10 that the system event belongs to, or from which the event message was generated. For example, the previously mentioned coin-in, exception fault and divide-by-zero system events are each so identified with the system event type. In step 502, the detector 110 selects the selected system event by comparing the system event type for each monitored system event to a list of system event types, and selecting one of the monitored system events for the selected system event, if the system event type for the selected one monitored system event matches one of the system event types in the list. Each system event is monitored and as the detector selects a plurality of system events based on their types, the system event messages for each selected system event is stored in the log file 104 on the hard disk 90. The list may be stored in an index or lookup file 112 on the hard disk 90. The lookup file may comprise a database file 112 which may be relational, object-based or in XML format for example.

A buffer region of the RAM 76 may be set aside for buffering a plurality of the monitored system events, wherein the step of storing, step 503, comprises storing one or more of the buffered system events in the log file 104 each time one of the system event types for storing is detected in step 502 by the detector 110. Preferably, the buffer in RAM 76 should be large enough so that at least the last 1000 system events may be stored in the buffer, and then written to the log file 104 if a selected system event is detected and stored. The buffer in RAM 76 is thus operated as a first-in-first-out stack of system event messages.

Other digital contents of memories 62 and 76, or components 50 in the gaming machine 10 may be stored upon detection of a selected system event. For example, it may be desirable to store the entire contents of a memory of a component 50, selected contents of a memory of a component 50, or selected entire values for registers of a processor component 60 of the gaming machine 10. For example, if a selected system event is a memory protection exception error, then it may be desirable to store at least the contents of the protected memory in RAM 76 that was violated and memory allocation tables for the offending application(s) that caused the error. Even if the memory portion in which the protection exception error occurred comprises a safe RAM or battery-backed memory device 62, it nevertheless still may be desirable to store the contents of that memory 62 in case other applications should further modify the memory 62.

With reference to FIG. 6, a flow diagram illustrating the steps for reading a file allocation structure or file allocation table 99 of a persistent storage media is shown. As another aspect of the present invention, it is desirable to perform operations on data files 54 stored on the persistent storage media, such as verification operations, before or without the need for the operating system 98 for an electronic device 10 is loaded. Typically, the operating system 98 must be loaded, and started or booted, in order to perform file access operations on persistent storage media 90. This is because the operating system usually exclusively contains the file access system used to read the file allocation structure 99 stored on the storage media 90. However, in some devices 10, it would be desirable to validate data files 54 on the persistent storage media 90 before booting the operating system 99 for, among other reasons, security purposes.

In that regard, the system of the present invention has a file allocation reader 76 stored in the BIOS or FWH 64. This makes accessing files stored in the persistent storage media 90 possible in the absence of a running operating system 98. The processor 60 may access the file allocation reader 76 stored in the BIOS, step 600, to open the file allocation structure 99 on the persistent storage media 90 and to read it, step 602. The file allocation reader 76 is a computer program which comprises a set of executable instructions for processing the file allocation structure such as that used by the operating system 98. For faster access, the processor 60 may move the contents of the file allocation structure 99 into a RAM 76. The processor 60 may then process the file allocation structure 604 to provide access to files stored in the storage device.

An example of such an application that may benefit from this new functionality in the BIOS is the verification software 70 described above for verifying software components or data files 54 on the persistent storage media 90. In that case, operating system files 98 may be verified before loading or booting, or before any software program 92 is run from the persistent storage media 90. This makes the verification software 70 completely independent of data files 54 stored on the persistent storage media 90 which are being verified.

As described above, verifying the data files 54 may comprise verifying each data 54 file by retrieving a first abbreviated bit string computed from the file from the database 74, computing a second abbreviated bit string from the data file 54, and verifying the file by authenticating the second abbreviated bit string using the first abbreviated bit string. As described above, the database of signatures or abbreviated bit strings 74 may be stored in the BIOS 64 as well, wherein the verification software uses DSA or RSA to verify each data file 54 against the corresponding signature or abbreviated bit string stored in the database 74. The file allocation reader 76 in the BIOS or FWH 64 may be configured to read a 32-bit based file allocation table 99, a 16-bit based file allocation table 99, a WINDOWS NT file system structure 99, or any other file allocation structures 99 used by the persistent storage media 90.

It will be apparent from the foregoing that while particular forms of the invention have been illustrated and described, various modifications can be made without departing from the spirit and scope of the invention. Accordingly, it is not intended that the invention be limited, except as by the appended claims. 

1. A method for authenticating a gaming device, wherein the gaming device includes a plurality of components, one of which is a storage device, the method comprising: starting up the gaming device; authenticating a data file stored on the storage device, wherein the authenticating comprises: opening and reading a file allocation structure in a storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to determine enablement of the gaming units.
 2. The method of claim 1, wherein each of the one or more components is associated with a type of component.
 3. The method of claim 2, wherein matching identification data comprises matching identification data based on the type of component that the identification data identifies, and wherein the identification data and the type of component is matched to authenticate that the identification data is authentic.
 4. The method of claim 1, wherein each of the one or more components is selected from the group consisting of: a software component, a firmware component, a hardware component, and a structural component.
 5. The method of claim 1, wherein at least one of the components comprises a processor.
 6. The method of claim 1, wherein at least one of the components comprises a ROM.
 7. The method of claim 6, wherein the ROM comprises an EPROM.
 8. The method of claim 1, wherein the data file comprises a software program file.
 9. The method of claim 1, further comprising replacing the data file if it is not authentic.
 10. The method of claim 1, further comprising stopping operation of the gaming device if any of the identification data is not matched.
 11. The method of claim 1, further comprising generating a tilt condition message if any of the identification data is not matched.
 12. The method of claim 1, wherein the gaming device is a personal computer, and wherein authenticating of identification data is performed before a transaction is allowed on a network server.
 13. The method of claim 1, wherein authenticating of identification data is performed before game play is allowed on the gaming device.
 14. A system for authenticating a device, comprising: a plurality of components; a processor for reading identification data of each of the components and for authenticating the identification data; and a memory including instructions stored thereon which when executed by the processor cause the processor to authenticate a data file stored on a storage device, wherein the authentication includes opening and reading a file allocation structure in the storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to determine enablement of the gaming units.
 15. The system of claim 14, wherein the processor reads and authenticates the identification data.
 16. The system of claim 14, wherein the storage device is a flash memory disposed remote to the gaming device.
 17. The system of claim 14, further comprising a database, wherein the processor authenticates the identification data by matching identification data in the database to determine whether the identification data is authentic.
 18. The system of claim 14, wherein each of the components is associated with a type of component.
 19. The system of claim 14, wherein the processor matches each identification number based on the type of component that the identification number identifies, and wherein the identification number and the type of component is matched in the database in order to authenticate the identification number.
 20. The system of claim 14, wherein each of the components is selected from the group consisting of: a software component, a firmware component, a hardware component, and a structural component.
 21. The system of claim 14, wherein at least one of the components comprises the processor.
 22. The system of claim 14, wherein the data file comprises a software program file.
 23. The system of claim 14, wherein the data file comprises one of a plurality of operating system files comprising portions of an operating system.
 24. The system of claim 14, wherein the processor replaces the data file if it is not authentic.
 25. The system of claim 14, wherein the processor stops operation of the device if any of the identification data is not matched.
 26. The system of claim 14, wherein the processor generates a tilt condition message if any of the identification data is not matched.
 27. The system of claim 14, wherein the device is capable of connecting to a network, wherein the database is stored on a server that is remote from the device, wherein the processor authenticates the identification data over the network, and wherein the processor transmits the identification data to the server to match the identification data.
 28. The system of claim 14, wherein the gaming device is a personal computer which authenticates the identification data before a transaction is allowed on the server.
 29. The system of claim 14, wherein the gaming device is a banking terminal which authenticates the identification data before a banking transaction is allowed.
 30. The system of claim 14, wherein the gaming device is a gaming machine which authenticates the identification data before game play is allowed on the gaming device.
 31. A system for authenticating a device, the system comprising: a hard disk; a processor; and a read-only memory including instructions which when executed by the processor cause the processor to authenticate a data file on the hard disk, wherein the authentication includes opening and reading a file allocation structure in the storage device using a file allocation reader; processing the file allocation structure using a processor to provide access to files stored in the storage device, wherein the files in the storage device include installed identification data from one or more selected gaming units as to components actually installed on the selected gaming units, and wherein the files also include registered identification data for components supposed to be installed on the selected gaming units, each component including hardware components and software components, and each gaming unit including multiple components with identification data; and examining the installed identification data and registered identification data to determine enablement of the gaming units. 